package com;

import java.text.SimpleDateFormat;
import java.util.Date;

import cn.hutool.core.date.DateUtil;

public class TestFormatDate {
	
	public static void main(String[] args) throws Exception {
		String f = "yyyy-MM-dd";
		SimpleDateFormat df = new SimpleDateFormat(f);
		Date d = df.parse("0000-00-00");
		String s = DateUtil.format(d, f);
		System.out.println(s);
	}

}
